fixed #3334  cocos2dx mac can't add stdC++ lib.
fixed #3334 add libextensions proj.mac.
Merge pull request #4423 from xiexin36/#3334

[ci skip]#3334