Patch for old cURL version.