Use RbConfig instead of obsolute and deprecated Config when defined

This will use RbConfig but will fallback to Config if RbConfig is not defined