Make Ssh::Session platform-aware