Fix for mingw

Fixed mingw (from https://github.com/mxe/mxe ) compilation problems for project https://github.com/eiskaltdcpp/eiskaltdcpp