corrected makefile and other doc errors