keyboard: Fix GTK3 support