testnet init fixes around build system changes