fixed missing getpwuid_r
fixed building libssh as shared library