Made build.sh fail on error.