Fix RHEL6 build