Sarek fix : OpenCL prototypes and reverse order of generated global functions