Linker errors fixed

- Linking with -lXext -lX11 libraries.