Fix for ruby 1.9.3 ... you need to explicitly require 'ostruct'