Raise errors if gdk-pixbuf/libcurl are not available when they are enabled