move -lssh before crypto which fixes static build