Avoid redefinitions with modern MinGW headers