Would it be possible to ./configure --enable-vfs-sftpfs and maybe also vfs-smbfs? Perhaps you could try that and report if any libraries (libssh2?) are missing.