Fix CentOS 7 OS check

Fixes the check to allow version 7 to promptly go through. When using awk CentOS 7, the number is the 4th item insted of the 3rd - so instead use a regular expression to match on the whole string and ensure a period doesn't precede 6 or 7.