use sys.hexversion for python version checks