the 'type' command produces different output on openBSD than on other platforms, leading the script to always behave as if the 'kyua' binary in on the PATH. we can fix this by using 'command -v' instead of 'type'