Updated CMake config to support xcode