Fix compiling with OCL 1.0 and 1.1