Fixed python2.6 compatibilit with sys.version_info tuple.