Code for importing ctypes