make it work with old libwebp