Add visibility header

* src/visibility.h: new file