Allow to link against libjpeg.so from non-standard location.

Fixes linking of amseddPG on juropa where the system libjpeg.so does not
contain the symbols required to link against libASImage.so which is
shipped with AMS ROOT v5.34.09 on /cvmfs.