scons: correct build logic for webp