support windows

This adds support for Windows.