fix checking for version

Now truly supports 6.4+.  Includes a fix for RHEL 7+, RHEL 6.10+