Lance integration

Fixing the lancelink compilation.