Fix potential free of garbage address in cURL on Windows
Prevent repitition of command line arguments