Show correct error message on build error