Fix relative paths for Ruby 1.9