try to do the right thing on windows