parity between rt and collectors build scripts