fixes #3734 failed to build cocos2dx.
Merge pull request #45 from chengstory/Bug#3734

fixes #3734 failed to build cocos2dx.