RbConfig deprecation fix

conditionally replacing Config with Rbconfig. This should get rid of the warning message when using any ruby version > 1.9.2