CentOS/RedHat support.

Retains backward compatibility.