Fix gui build