More consistently include config.h
configure: Set glib min requirement to 2.32

and warn when using newer APIs