cleanup eventfd abstraction between linux and bsd