Added so/dll visibility attributes