Check for external dependencies first during build

Abort conversion and show error message if missing external dependencies
ie. command line tools cwebp and gif2webp.

Related to issue #3