Need to check for static targets before adding abi visibility flags.
Need to check for static targets before adding abi visibility flags.

If shared libraries are getting built there may still be some
libraries that are set to be built statically. I added in a check
to see if the target was a static library before adding in extra
compile flags.

Change-Id: I0c3de83964faef78a421824e07f0180742848b9f

keithroe/vtkoptix,msmolens/VTK,jmerkow/VTK,SimVascular/VTK,ashray/VTK-EVM,ashray/VTK-EVM,sumedhasingla/VTK,johnkit/vtk-dev,SimVascular/VTK,ashray/VTK-EVM,keithroe/vtkoptix,hendradarwin/VTK,mspark93/VTK,candy7393/VTK,candy7393/VTK,msmolens/VTK,ashray/VTK-EVM,sankhesh/VTK,johnkit/vtk-dev,hendradarwin/VTK,berendkleinhaneveld/VTK,sumedhasingla/VTK,candy7393/VTK,mspark93/VTK,candy7393/VTK,jmerkow/VTK,demarle/VTK,keithroe/vtkoptix,sumedhasingla/VTK,sumedhasingla/VTK,ashray/VTK-EVM,johnkit/vtk-dev,keithroe/vtkoptix,SimVascular/VTK,msmolens/VTK,demarle/VTK,gram526/VTK,msmolens/VTK,demarle/VTK,sumedhasingla/VTK,sumedhasingla/VTK,SimVascular/VTK,sankhesh/VTK,candy7393/VTK,SimVascular/VTK,SimVascular/VTK,sankhesh/VTK,sankhesh/VTK,demarle/VTK,gram526/VTK,candy7393/VTK,mspark93/VTK,msmolens/VTK,SimVascular/VTK,demarle/VTK,johnkit/vtk-dev,keithroe/vtkoptix,berendkleinhaneveld/VTK,jmerkow/VTK,mspark93/VTK,hendradarwin/VTK,keithroe/vtkoptix,berendkleinhaneveld/VTK,johnkit/vtk-dev,hendradarwin/VTK,hendradarwin/VTK,msmolens/VTK,johnkit/vtk-dev,mspark93/VTK,sankhesh/VTK,ashray/VTK-EVM,demarle/VTK,sankhesh/VTK,sumedhasingla/VTK,jmerkow/VTK,hendradarwin/VTK,hendradarwin/VTK,msmolens/VTK,candy7393/VTK,sankhesh/VTK,johnkit/vtk-dev,berendkleinhaneveld/VTK,gram526/VTK,berendkleinhaneveld/VTK,jmerkow/VTK,berendkleinhaneveld/VTK,berendkleinhaneveld/VTK,ashray/VTK-EVM,mspark93/VTK,candy7393/VTK,sankhesh/VTK,ashray/VTK-EVM,gram526/VTK,keithroe/vtkoptix,demarle/VTK,sumedhasingla/VTK,SimVascular/VTK,keithroe/vtkoptix,mspark93/VTK,msmolens/VTK,gram526/VTK,gram526/VTK,demarle/VTK,gram526/VTK,gram526/VTK,jmerkow/VTK,jmerkow/VTK,mspark93/VTK,jmerkow/VTK