feature: add autoconf

Make it possible to build in a separate tree as well as build all tests in a single make command.