fixed potential build failure on mingw32
Merge pull request #116 from zhuomingliang/patch-1

fixed potential build failure on mingw32