fix compatible issues with centos6.5 & gcc 4.4.7
Merge pull request #3 from cychenyin/master

fix compatible issues with centos6.5 & gcc 4.4.7