Compile fixes

Include `eio.h` to get rid of compiler warnings/errors and add a `NODE_MODULE` declaration.

To be honest I'm a bit confused about how it works for anybody without the `NODE_MODULE` bit as node wouldn't even load the compiled file for me until I added that...