Fix typo that prevented CMake from running moc.

This problem was introduced by the recent build system refactoring,
copy & paste programming is evil.