Hack for apparently busted dir_config in ruby 2.0.