Fixed warning on windows.