Clean up the cm.mk file