improve homebrew ruby-1.8 openssl support, update #2595