Fix 'which' on Windows