Compatibility fix for http://stackoverflow.com/questions/13693713/use-rbconfig-instead-of-obsolete-and-deprecated-config