updates with Windows build and windows-specific code.