Fix compilation error with MSVC