Only set mesa as the detault opencl implementation if the opencl flag is on