modify to use libcurl from WinRPM on Windows