Make cocos build with C++11 on ios