Fix check for GDK 3.10