Fix warning on Windows
Fix warnings on windows