Add chmod
Add -lX11
Build client and server