Support Mac OS X (and NetBSD)