changed: Use command -v instead of which to determine whether a binary e...

...xists. Apparently using the return code of which is not reliable on ALL platforms