Fixing linking errors for TestCPP with libcurl
Merge pull request #2399 from gelldur/linking_errors_linux_lub_curl

Fixing linking errors for TestCPP with libcurl