Crash when using TApplication on new macOS ROOT build

Same linker error as before:

[ 90%] Linking C shared library ../../lib/libGLEW.so
Undefined symbols for architecture x86_64:
  "_glXGetClientString", referenced from:
      _glxewGetExtension in glew.c.o
  "_glXQueryVersion", referenced from:
      _glxewContextInit in glew.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libGLEW.so] Error 1
make[1]: *** [graf3d/glew/CMakeFiles/GLEW.dir/all] Error 2
make: *** [all] Error 2

Compiled with cmake ../root-6.18.00/ -Dx11=ON -Dcocoa=OFF -DCMAKE_C_FLAGS="-I/opt/X11/include" -DCMAKE_CXX_FLAGS="-I/opt/X11/include" -DCMAKE-CXX_COMPILER="clang++" -DCMAKE_C_COMPILER="clang" -Dmacos_native=OFF