Port to Windows
Fix up some Windows specific configuration