Add missing dependency

- Install libjpeg-dev when '--withjpeg' option is given
- Install libpulse-dev when '--withsound' option is given