Fixed build with libcurl-7.12