From the comments in that sketch:
used to flash ATTINY 85 running at 8mHz
The TCCR1 register name is used by the ATtiny85 but not by the ATmega328, thus the cause of the error. You could likely convert the code to work with ATmega328 without much trouble.