Fix build when not using OpenCL