Fix cuda/thrust update compilation problems