Fix cuda modules compilation


**WIP**

test_module=core