Use X_LIBS from pkg-config, instead of libdir, for locating libX11