client: irc MAC and other *nix build fix