CompilerExtension: added validateConfig() method