Fixed compilation failure if not using admin interface