Fixes curl_getinfo invokation issue