modified cmi to be able to build metapackages without CMakeLists.txt (#349)