dynatimer: lua 5.2 compatibility added by Phenomenon, fixes #289