remove new_ostruct_member to be compatible with ruby2.0