Fix: make ImageMagic and GraphicMagic works on Windows