[bootstrap] use *command* to detect installed fcns.

*command -v* is a POSIX-compatible fcn for checking if a command is
installed. Although *type* is also POSIX-compatible, some of its options
are now. So to prevent future issues I've switched.