lcg: fixup build-script