handle missing platform.python_implementation in CPython 2.5