Windows cygwin freebsd

With this change I am able to build + test + install on FreeBSD, cygwin, MSWin32
(untested but I expect that *BSDs may also work)