Added some NetBSD specific code to druntime (core.sys.posix.sys).