Add nextSlave functions to mozharness builds