Fixed cdat dependencies

@doutriaux1 please review