new plugin: zimg
link imagereader dynamically aginst libjpeg, update other files
reduce compiler warnings