Fix up dynamic lib exports (never fully implemented).
Merge pull request #24 from evoskuil/master

Fix up dynamic lib exports (never fully implemented).