fixed command exit tests; added custom libssh2 build