Added ruby extensions to enable require_relative in ruby 1.8.7