build: cleanup build system and make non-recursive.

This includes removing the 0-sized NEWS/ChangeLog files, adding more files
to the distribution, fixing the misuse of AM_LDFLAGS for libraries, and
updating the libtool detection macro.