fixed Win build with new curl 7.31.0