Fix ctypes installation