epoll_create compatibility with FreeBSD