Fix building on travis