`set -e` in install.sh

This allows error in `build.sh` to propagate up. Fixes #1197.