use RbConfig instead of Config