Change RbConfig from a class to a module