Fix build on newer glib
Disable glib deprecation warnings