support windows.
Merge pull request #1 from mattn/win32

support windows.