Fix x11 include and lib parameters for configure script.

Fix for issue https://github.com/NixOS/nixpkgs/issues/2922