fix compatible issues with centos6.5 & gcc 4.4.7