Link statics with external linkage if they are publically visible