Add autotools and travis-ci support.