Move to configure.ac and prepare the autoconf work
Create automake rules so we actually build.