[fix] compilation for cmxs