Fix non-OpenCL builds. Missing #ifdef.