Added support for Redhat based systems.