[linux] allow compile client without gui(Close #6)