Add dependencies

According to https://developers.google.com/speed/webp/docs/compiling#mac_os_x
giflib and tiff are also listed as dependencies.
Changed dependencies to optional
webp: add 0.4.0 bottle.