Fix x11 include and lib parameters for configure script.

Fix for issue https://github.com/NixOS/nixpkgs/issues/2922
Won't it work if you simply add correct buildInputs?