fixup osx and solaris builds to match epoll changes

Moral equivalent of the epoll.c changes in
37f54141e7739f8825c751708fd04f5974fb53ed

Without this, iobasic.t will fail on OSX.  Solaris doesn't seem to care,
but we should make the equivalent change for consistency.