[FIX] fixing cmake
[BUILD] add header visibilities