Make compatible with RHEL 6