Fix cuda modules compilation