Add visibility flag for linux (refs #179)