Better error reporting on build.