Fixed build failure on the statistics test