Make the patcher work on windows.