ui: build fixes for linux