Edited CMakeLists.txt to support C++ 11 in XCode