Only export symbols from public API when building a shared library
Merge pull request #25 from saghul/visibility

Only export symbols from public API when building a shared library