Fixes the build with the upcoming CMake 3.2 update, since its FindOpenGL.cmake does not check for X11 anymore.