workaround for CRAN jpeg package failure