Fix CMake warnings; enable Menu bar on OS X