fix for strange implementations of self.<=> in external class definitions