Bas Wijnen's fix for MinGW newline problem

Use diff --strip-trailing-cr to ignore
windows/posix newline difference.