cmake: add options for building gui

`args << "--qt-gui" if build.with? "qt"`