fix for mingw-gcc
fix for gcc (tdm64-1) 4.7.1

TDM-GCC: http://tdm-gcc.tdragon.net/
Merge pull request #18 from southly/for-gcc

fix for gcc build