ruby186: fix compilation against newer OpenSSL

Fixes #258.