fix gdk version detection