Fix gtest build error when OS=msvc.
Merge pull request #792 from zhilwang/msvc-gtest

Fix gtest build error when OS=msvc.