make compatible with node 0.10.x by explicitly casting the after work callback function to "uv_after_work_cb"