Fix compile with NbtBuffer