Add check for libjpeg and a list change