Updated CMakeLists to work on OSX}