Fix test.
Fix MSVC build.