Fix our sys.version_info usage for py2.6 and earlier