Fix Windows build with MSVC.