Fix cmakefile and #ifdefs for opencl configuration.