Fixed compilation on Windows when using libssh2.

This fixes issue #1987 by enabling checking for SSH support on Windows as opposed to always returning a dummy transport protocol.