Fix compilation bug on Windows with installed MSVC