Use cygpath for system image file locations

This allows Cygwin-to-MinGW cross compilation to work