require ostruct, should fix ruby 1.9.3