Set static linkage symbol for static builds.