add missing classes.h and classes_def.xml  to build library for top tree