add headers to libjpeg