Fix exit on failure in ./build.sh