Minor fix for Mingw32 support

This is a minor patch we received which helped support for mingw32 and HXCPP