Added osVersion check for RedHat/CentOS