Ok, you need to compile against OpenSSL 0.9.6. Looks like you're compiling against OpenSSL 0.9.5.
/s.
And it worked.