Fix CMakeLists for OSX

  modified:   CMakeLists.txt