torch: fix cmake windows