Trying to fix imports that are not compatible with Python 2.5