Remove the "excellent" idea to re-open /dev/stdout etc. for redirection as cmake uses open(O_TRUNC) and, thus, truncates log output of outer redirections.