fix issue #53 for non-windows with scaffold