Silly mistake with libjpeg