Preliminary Cocoa plugin fix
Fixing CMake warnings