added INCLUDE_DIRECTORIES(${X11_INCLUDE_DIR}) to make sure X11 header files are corre...