New cygpath_w helper function

Converts Cygwin paths to Windows-style so MinGW-compiled executables can understand them