use cmake mods for fixing mac build error and hopefully proper installation happening
Merge pull request #396 from pkarasev3/update-KSlice

use cmake mods for fixing mac build error and hopefully proper installat...