Check for old style class when building subclass.