Fix cygwin-gcc and cmake problems

Fixed warning in CMake
Fixed problem with tuples creation (brace construction was causing ambiguity when not needed)
Fixed problem of stream copy constructor usage