This fixes the bug on windows.