Updated CMakeLists for APPLE.