Fixes spurious automoc files being generated in Visual Studio

When CMAKE_AUTOMOC is ON it looks for _p.c files