Use pin name instead of number fails - why?

PORTC7 is a shift value meant to be used with PORTC...

  PORTC |= (1 << PORTC7);

Is that how you are using it?