proper exit values in build.sh