Fix build on RHEL