Make setup.py work with python 2.6

Python 2.6 doesn't have named components for sys.version_info.