Convert build to build_stubbed where possible.