corrected libjpeg integration problems on iOS, preparing samples