add compatibility for luaotfload v.1