ruby 2.1.1: secondary arch support fixes.
ruby 2.1.1: secondary arch support fixes.

* Not really tested yet, but this is better on the repos than only on my
hard disk.

nielx/haikuports,miqlas/haikuports,nielx/haikuports,koletzky/haikuports,koletzky/haikuports,haikuports/haikuports,Begasus/haikuports,Begasus/haikuports,moochris/haikuports,moochris/haikuports,Begasus/haikuports,koletzky/haikuports,Begasus/haikuports,haikuports/haikuports,Begasus/haikuports,moochris/haikuports,haikuports/haikuports,haikuports/haikuports,nielx/haikuports,haikuports/haikuports,miqlas/haikuports,miqlas/haikuports