disable libssh2_session_flag and libssh2_channel_window_write_ex wrappers when libssh2 is too old to support them