Maybe jpegv7 avoids both undefined reference to `jpeg_default_qtables' and jpeg_read_header