fix compilation with MSVC
2 files changed