add set -e to gbuild.sh. fail if anything goes wrong