the ability to compile with clang and the modern Objective-C runtime.
be only needed for ioctl. Include util.h on NetBSD and OpenBSD for openpty.