fix gui build