Sync Cocos2d-x Fix js-moonwarriors compilation issue