buildtools: fix build with coverage