Remove dependency on unix/posix library.
Make plugins compatible with hexchat.