Updated to try to use pkg-config to determine additional libraries for libssl