adapt to webp /MD dll