Added workaround to include the generated classes into the compile phase. refs #418