Fix for building Sweave vignettes.