TARDIR now set conditionally so it can be overridden