const in solibrary, shared library build.
Merge branch 'shared'