Fixed ImportError on platforms without Setuptools.

Fixed ImportError on platforms without Setuptools.