fix compile error on RHEL 6.5