Fixing #1334: Examples build problem
Fixing PVS studio warnings
Disabling policy warning occuring in cmake 3.1
Fixing typo in comment
More PVS studio warnings fixed
Apply policy change for newer cmake version only
Merge branch 'master' into distributed_transform_reduce