CMakeLists: Try to fix the X11 detection on OS X