Support setuptools

Fall back to distutil if setuptools isn't around. Useful for
bundling as an egg with bdist_egg, for example.