first compiling version for Windows.  Untested!