fixes based on a pass over everything with autoconf/automake
20 files changed