Stop build script on error