fix check of OpenBSD's netcat