Building OpenSSL with the no-threads option solve the problem in my case. I don't really search deeper what is the consequences of that build option but maybe it can help someone ;)