Use correct openssl libs and includes in pkgconfig file Previously we were saying -lssl -lcrypto unconditionally when we should have been saying OPENSSL_LIBS. Based on a patch from Patrick Pelletier