Link libjpeg to imagemagick