Merge pull request #414 from mmicko/master

Fixed compile on varois MINGW versions