[FIX] fixes MSVC compile issues in StatisticFunctions_test