Fix build warning on Windows