Add checks for jpeglib.h and GL/glu.h

Related github issue #7