Fixed preflight checks for CentOS 7