add export instructions, make other symbols hidden, use strip on generated shared library