Fix #9 by improving `which()` on Windows.