Autotools support

Add support for building with autotools. This should pave the way
for making an AUR package.