Fixed warnings reported by Travis