Use 'set -e' in common build script for CI