Fall back to "which" if "command -v" is not available