finish supporting libcurl for windows