Don't hide build failures: abort if gawk is not found or if any command fails

It's easier to find build problems if this script returns an error to Maven so that the build is aborted.