Link with crypto, not ssl
Minor code clean up