Try to error out of the build process sooner.