update xcode project to c++11
c++11
clang-format applied, some minor warnigns fixed