Fixed installation script to support old webp versions