Fix compilation on MacOSX

* Removed unused <linux/fs.h> header
* Changed UNIX_BUFFER_SIZE to UNIX_BUFSIZ