Fix depend.sh on NetBSD.