Which fails on cygwin; command -v is portable.