fixing require_relative for ruby 1.8 support