update to optionally build stub gui