Added a warning for useless builds.