Fix async for build tasks