fixed build of cdo, jasper, grib_api on macosx