osx hacks to compile fish-irssi plugin

hello @falsovsky,

You can find some patches for your plugin to compile it on osx system.

Sincerly,