For SSL, use -lssl -lcrypto on systems that don't have pkg-config.