UART identifier "UBRR0H" is undefined (ATmega 8)

That did resolve the library problem, but I still have undefined registers?