Fix the build for the build agent