Fix build on mingw32
Merge pull request #1819 from mattn/fix-mruby-time

Fix build on mingw32