remove extend script overriding bindir variable after it is set