Fixed compilation warnings for interactive-p