Fix build on MSVC.