C and M are correctly autodetected