PKMDS-G5: updated for Cygwin compatibility
Cygwin compatibility, some adjustments for updated PKMDS