Make eio_custom return and type depend on node version.

This should allow the code to be built on node 0.4.x and node 0.6.x seamlessly.