fix compile error on Linux by gcc 4.7
Merge pull request #81 from watsonsong/master

fix compile error on Linux by gcc 4.7