Fix RHEL5 build