test HAVE_JPEGLIB_H before including the jpeglib header