Add libjpeg compilation.