Initial support for OpenSSL static and dynamic locks