Fix build without OpenCL

Change-Id: I15e4495607113eb9bc55a31fee061a9d5384731b