autotools: Add initial version of new build scripts.