Add a bootstrap script, improve Makefile.am and configure.ac