Fix the Stage1Only condition in build-prog