Mac build fix after merging https://github.com/cocos2d/cocos2d-x/pull/5989
Merge pull request #5991 from dumganhar/develop

Mac build fix after merging https://github.com/cocos2d/cocos2d-x/pull/5989