configure, plug-ins: make libjpeg a hard dependency