CentOS/RedHat support.

Retains backward compatibility.

Change-Id: Ia53c14ca397d747cec5f6a43f323c68c26fa8a58