jpeglib-dev is apparently required for the jpeg functions of PIL