Add dependencies for Travis CI build script.
Modify Travis CI build script.
Compatible with old version of boost.