cm: Fix build to cm