normalize distdir for win32