Add CentOS 7 support code.