Split the drive in replace_win32_incompat only on win32.

Also updated the tests, since this is now platform dependent.