Add dependency check for libjpeg.so.62

This is needed by Stonesense