build_wheel.sh should fail on error

If, for example, wget fails, the build should fail.
Unbound variable errors need to pass
Merge pull request #1 from ariddell/patch-1

build_wheel.sh should fail on error