fixed build error on cocos2d-x 3.2