[master] Fix compilation errors in TestCPP for marmalade port.
Merge pull request #5892 from dumganhar/master

[master] Fix compilation errors in TestCPP for marmalade port.
Merge branch 'master' of https://github.com/cocos2d/cocos2d-x into win32_lib_size
closed #4522: disable /gl to reduce release size