[OS/2] Make libevent build on OS/2.

Currently, only the socket mechanism is available on OS/2.