Fix makefiles and errors for lib.
Working on chapter 4 fileio examples.
Solve exercise 4.1 tee.
Solve exercise 4-2 copy file with holes.