fixed GTK2/3 detection