Fix build of cpm_uart due to core changes