fixed #2 Python 2.6, sys.version.major test fails (not a tuple)