rename class to _class

Avoid compile error when C++ is enabled