Fix tr centos compile error