Fix broken test compilation on NetBSD
libssh on NetBSD and FreeBSD exists in /usr/lib - prefer ports/pkgsrc