configure: add library needed for timers