Fix ssh libraries handling for CentOS