pass basic test on cygwin and MSWin32
pass basic test of FreeBSD
probably other *BSDs too?
Merge pull request #7 from plicease/windows_cygwin_freebsd

Windows cygwin freebsd