title: PyOpenCL fails to build program on MacOS Mojave
body: <p>So I'm trying to run a program using <code>silx.image.sift</code>, which uses <code>pyopencl</code>. While running the software, I ran into a problem building the openCL program and I've isolated the program to the following code which reproduces the error:</p>
  
  <pre><code>import numpy as np
  import pyopencl as cl
  from pyopencl.clrandom import rand as clrand
  
  
  context = cl.create_some_context()
  queue = cl.CommandQueue(context)
  clrand(queue, (50,), np.float32)
  </code></pre>
  
  <p>Since this code is as basic as it gets, I'm guessing it's a bug with the (regretfully) recently installed macOS Mojave. Here is the error I consistently get whenever I run code that uses <code>pyopencl</code>:</p>
  
  <blockquote>
  <pre><code> File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyopencl/clrandom.py",
    line 642, in _fill
      self.get_gen_kernel(ary.dtype, distribution)
    File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pytools/__init__.py",
     line 598, in wrapper
      result = function(obj, *args, **kwargs)
    File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyopencl/clrandom.py",
    line 623, in get_gen_kernel
      prg = cl.Program(self.context, src).build()
    File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyopencl/__init__.py",
     line 510, in build
      options_bytes=options_bytes, source=self._source)
    File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyopencl/__init__.py",
     line 554, in _build_and_catch_errors
      raise err
  pyopencl._cl.RuntimeError: clBuildProgram failed: BUILD_PROGRAM_FAILURE - clBuildProgram failed: BUILD_PROGRAM_FAILURE -
     clBuildProgram failed: BUILD_PROGRAM_FAILURE
  
  Build on &lt;pyopencl.Device 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz' on 'Apple' at 0xffffffff&gt;:
  </code></pre>
  </blockquote>
  
  <p>Not sure whether this is a pyopencl issue or a general opencl problem. I understand that OpenCL is deprecated in macOS mojave, but that shouldn't mean that it won't work at all right?</p>