Configure fixes

Fixes #18 and #21, and renames a few files which were misleadingly named as if they came from the GNU autoconf-archive project.