Fix Travis-CI builds by adding :prepare: targets and host-deps support.