add some of the necessary support for netbsd sysctl