fix for slave builds