Update CMake files for Mac