Install visibility
Add C linkage for the API