ruby: Use RbConfig instead of Config.

This works as well on Ruby 1.8.