Fix compile error with theoretically supported versions of libcurl < 7.12.3.