add fallback for older luatexbase