Fixed bug on Python 2.6 where sys.version_info is just a tuple unlike in later Python versions.