add workaround for broken luac