try to fix lua compile in unitsync