add #ifdef CL_VERSION_x_x to avoid deprecated / non supported functions
Merge branch 'master' into numeric