Workarounds for RVM/OpenSSL build bugs