Fix for libssh 0.5.x (Ubuntu 12.04)