issue #1770: Adding webp support for blackberry and marmalade.