add autoconf and automake support