Changes required for MacOSX 10.9 with CMake