Fix support for RHEL 5