Corrected the #elif in notify_set_timer() and add usage of arc4random in xfrd_set_timer().