- add metadata.h to cmake.