Remove trailing end of line in output of uname.

  This issue appeared suddenly, probably due to an upgrade of cmake.