Use Libevent 2.0's periodic timers where available.