fixing ctypes errors
bump to 1.0.4