Fix SSL error on windows