Make  usage work cross-platform.

which -s doesn't exist in Ubuntu, and probably elsewhere too.
This directly tests the output instead, which ought to work
everywhere.