Use RbConfig instead of obsolete and deprecated Config.