cygwin compatibility - wont close issue on github until fully tested on main machine