Fix: make ImageMagic and GraphicMagic works on Windows

If someone want to run tests on Windows