add support for building without slgui
Merge pull request #2 from alcoheca/optional-gui

add support for building without slgui