Link OpenCL only if available
Mutex access to the lru caches