small fix for build_all