build: simplify libwebp check