Fixing linking errors for TestCPP with libcurl

Topic: http://www.cocos2d-x.org/boards/23/topics/26702?r=26820