make dumptests work (on linux/mac) when SKIP_IMAGEMAGICK set