fix compile error on RHEL 6.5
Merge pull request #155 from pubyun/master

fix compile error on RHEL 6.5