Cocos2d-x: Support 3.1rc0