fix compile error on CentOS6.4