Updated build script

Check for build / minify failures and bomb out if found.