Remove entries from CMakeLists.txt which do not need moc's generated for them.