Set up build system

Autotools are used as a build system.