Modified to work with Node(<=0.10.28) 

Corrected the Work_After Definition's object type using 'uv_after_work_cb' cast.