Make sure build crash when generation fails