Fixed CMakeLists for Mac