Fix many compilation bugs by waiting for all CPU tasks.
Fix many compilation bugs by waiting for all CPU tasks.

rlugojr/brunch,ondreian/brunch,brunch/brunch,PeterDaveHello/brunch,justinwoo/brunch,hayesgm/brunch,lalomartins/brunch,hellyeahllc/brunch,kidaa/brunch,Flaise/brunch