Fix building on Windows with MSVC.