Fixed JPEG importer, added support for "non-turbo" libjpeg