Support Cocos2d-x 3.1