Use RbConfig instead of obsolute and deprecated Config when defined