Reorganized configure.ac. Attempt to get bison working on travis-ci.