Force lowercase targetos value for MinGW, we check against lowercase strings.