This fixes 'checking for jpeg_read_header in -ljpeg... no' locally