Explicitly export exported symbols, hide the rest

Builds and links. Only results in a 1k reduction in the shared lib, but probably still worth it for external-API-documentation reasons.