Use Ruby 1.87 style hashes
Backport require_relative for Ruby 1.8.7