add osx-arch-fix for ruby-1.8.5, update #2377