Add more configure checks

Oh portability / how I hate thee.

https://bugzilla.gnome.org/show_bug.cgi?id=710690
Merge branch 'master' of git://git.gnome.org/gdk-pixbuf