Fix compile error
Force symbol visibility to hidden unless explicity exported.