Fix docs building on travis.