Fix win32 build
Add util.h
Merge pull request #1 from mattn/fix-win32-build

Merge from mattn/fix-win32-build