cm: Fix up CM_BUILDTYPE