Add a configuration flag for building without the GUI

Small memory-constrained systems like what OpenWRT targets tend not to have X, but they should be able to run soundmodem just fine.

I'm very new to autotools, so feedback on style and usage would be much appreciated.