Improve OpenSSL compile flag compatibility, minor updates