Build the GNU Autotools.

Setup is blatantly stolen from gentoo and uses gentoo's wrapper scripts.
