Fix compiler error (and bug).