Enable WebP if -DWITH_WEBP=1 is passed to cmake.