Compare correctly on windows