fixed build on windows.
Merge pull request #35 from mattn/fix_build_win32

fixed build on windows.