change library import

ctypes is need to call functions.