Fixed compilation when no OpenCL platform detected.

Signed-off-by: Irina Vidal <irina.vidal-migallon@inria.fr>