Fix deprecation warning: 'Use RbConfig instead of obsolete and deprecated Config.'