Fixed msvc compatibility issues
Parsing moc files
Fixed generation for moc files in CustomBuild tag