Windows/Mingw adjustments