A version of ensure-class for built-in classes.