Remove long int type for py3 compatability