Fix Travis compilation warnings