Fix ctypes on Windows.