Support building libcurl against zlib