Fix Travis build error