[build-and-install.sh] add -e: stop on error