Fix two small mistakes preventing compilation.