Fix upload command variables for windows