buildtools: fix mutable default arguments