autoconf/config/make fixes and cleanup