lcg: fixup relative dirs