`set -e` in install.sh

This allows error in `build.sh` to propagate up. Fixes #1197.
Merge pull request #1201 from oconnor663/master

`set -e` in install.sh