NetBSD also doesn't like the _XOPEN_SOURCE hack