Fix regression in travis build