fix ruby compilation when ruby is linked with openssl compiled with freebl3, fix #1503