Allow build without HAVE_LIBWEBP.