Fix warning on windows