Fix compile with GTK 3.10. Ugly hack to be removed