Added support for RedHat as well. (it worked only on CentOs b4 this change).