Fix ldd in make test
Ditch jpeg apt packages. Hence libwmf packages. Hence wmf support.