Fix Travis compile issue