Refactor setting the Object primitive

* In 1.9 ::Object.superclass will return ::BasicObject, under 1.8 it
  will return nil, so this will default to ::Object