change version checking to work under python 2.6

sys.version_info is a tuple, not a named tuple in python 2.6