fix gemspec
require ostruct
fix Extension.support_update_engine?