occurs.lua: fix to work with stdlib release 34.