Fix building GUI for linux