Correct exit code for build script