Fixed libjpeg library usage