Fix compilation warning using MSVC