fix for chroot bug when running under windows