Fix shadow struct initialisation for Ruby 2.0.