Add CM build system