Fix enableProductionFstatCheck