Add openssl support for postgresql