Explicit cast to uv_after_work_cb added to fix compatibility issue on node v0.10 under solaris.
This is caused by an API change (signature of uv_after_work_cb changed), see migration guide on https://github.com/joyent/node/wiki/Api-changes-between-v0.8-and-v0.10.

Fixes #11
Merge pull request #12 from akloeber/master

Explicit cast to uv_after_work_cb added to fix compatibility issue on node v0.10 under solaris