Update build.sh to error-out on bad $BUILD or $BIN
#1882
+4
−4
build.sh to error-out on bad $BUILD or $BIN
#1882