Fix build with ruby-head (2.0)

Config has been deprecated for a while, and is now gone. Don't use it.