Fixing MinGW compilation warnings

Thanks to Martin Maurer

Closes #100