add libjpeg as dependency