fixed BDROOT setup before buildoop call