Added set -e to build script to stop on any error