Use gcc visibility to avoid unecessary symbol exports.
Install cmake files.
Retain old CMAKE_CXX_FLAGS while setting visibility.
Allow installation path configuration with standard CMake X_INSTALL_DIR