uloop: ensure SIGCHLD is properly received on mac os x