Rename CLOCK_FREQ macro to CPU_FREQ: now clock frequency has to be set in the makefile.