Removed M2_HOME validation so it is possible to build just the html-generator module.