fix msvc compile error,C2275,C2065
Merge pull request #35 from zhaozg/master

fix msvc compile error,C2275,C2065,...