Use RbConfig instead of deprecated Config

This fixes the following warning in Ruby 1.8.x and Ruby 1.9.3

```
Use RbConfig instead of obsolete and deprecated Config.
```

RbConfig is also available in 1.8.7, so this change does not raise any compatibility issue (assuming that is our minimum version).