initial port of build system to automake + autoconf + libtool