Fix compilation of bytestream test