Correct return code for build process