Add fixes for ssh-agent.