substrate: fix windows paths