Make build.sh stricter

Traps are being used now, which allows not to have to remember to
exit 1 on any error