Fixed compilation error in CLI