Fix warning on Windows