ctypes win

Corrected ctypes import in windows connection test