Fix some warning on windows with MSVC