Fixing NOSTATS build