Build error: undefined reference to symbol 'XInternAtom'

https://code.google.com/p/speedcrunch/issues/detail?id=439

Force -lX11 with CMake and QMake.