Fix compilation on MinGW with GCC 4.7.2
Merge pull request #219 from softins/fix-mingw-compile

Fix compilation on MinGW with GCC 4.7.2