Fix the cygwin path conversion using a more reliable method(cygpath).

Using cygpath to convert path to Windows path since cygpath is bundled with cygwin installation and it's designed to use with path conversion between cygwin and Windows.
Merge pull request #22 from yfwz100/patch-1

Fix the cygwin path conversion using a more reliable method(cygpath).