Fix various line-prefix errors in Makefiles which prevent "make dist"

Also fix various typos in folder names, file names, etc, which also block "make dist"