Since libssh2 supports now agent stuff it also depends on user32.lib. Posted to the list by Jan Ehrhardt.