fix bug of ios version cause by cocos2d-x upgrading.