add *nix support for defunct processes