Fixed travis build error.