Buildfix, include missing glib.h

Explicitly include glib.h. This is required when building with curl.