more netbsd support.
5 files changed