set CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER to false,
sanitize path for windows access
changed checks, allow also windows installation