Fix for FreeBSD

Hi,
The module works reasonably well on FreeBSD with the libinotify installed from the ports collection.

I've been using it there with the Airtime software and there hasn't been any problems except that it may generate different events than those documented on occasion :)

Thanks for making a useful library.