Fix build problems with remote lli implementation