Fixed require_relative to be compatible to Ruby 1.8.x