Fixed ckt for cygwin, and verified this works on OS X as well