Fix ctypes call test for windows