Make setuptools compatible
More python2.4 fixes