Remove external dependencies for Python 2.6