More reasonable error message, since it will show on the build log.