Compilation fix after this PR (https://github.com/cocos2d/cocos2d-x/pull/4583).