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

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