Fixes for when no OpenCL available