fix multiple building issues under Microsoft Visual C++ 2013.
Merge pull request #62 from liuyanghejerry/master

fix multiple building issues under Microsoft Visual C++ 2013.