Added standalone c++ JPEG library support.