build: improvements and support for delegated/async builds.