Fix up dynamic lib exports (never fully implemented).