Avoid compilation failures on non-RHEL 7 distros