Turns out a missing diff was silently screwing libssh2’s configure process!