Fix crash on x64 Python on Windows