build: correct the handling for the static variants
build: correct the handling for the static variants

The static variants should use the same flags as the dynamic variants.
We missed the name conversion in the variable computation causing the
static and dynamic builds to diverge.

tkremenek/swift,aschwaighofer/swift,xwu/swift,roambotics/swift,glessard/swift,nathawes/swift,roambotics/swift,gregomni/swift,stephentyrone/swift,tkremenek/swift,harlanhaskins/swift,JGiola/swift,hooman/swift,JGiola/swift,stephentyrone/swift,aschwaighofer/swift,parkera/swift,apple/swift,hooman/swift,parkera/swift,airspeedswift/swift,harlanhaskins/swift,aschwaighofer/swift,allevato/swift,tkremenek/swift,JGiola/swift,atrick/swift,roambotics/swift,rudkx/swift,gregomni/swift,airspeedswift/swift,jmgc/swift,jmgc/swift,apple/swift,CodaFi/swift,nathawes/swift,allevato/swift,airspeedswift/swift,harlanhaskins/swift,CodaFi/swift,benlangmuir/swift,jckarter/swift,allevato/swift,stephentyrone/swift,roambotics/swift,xwu/swift,apple/swift,ahoppen/swift,nathawes/swift,allevato/swift,atrick/swift,atrick/swift,ahoppen/swift,apple/swift,hooman/swift,jmgc/swift,benlangmuir/swift,allevato/swift,glessard/swift,nathawes/swift,jckarter/swift,glessard/swift,aschwaighofer/swift,harlanhaskins/swift,rudkx/swift,airspeedswift/swift,jckarter/swift,apple/swift,glessard/swift,hooman/swift,tkremenek/swift,ahoppen/swift,hooman/swift,tkremenek/swift,benlangmuir/swift,jmgc/swift,tkremenek/swift,atrick/swift,CodaFi/swift,parkera/swift,apple/swift,stephentyrone/swift,benlangmuir/swift,stephentyrone/swift,xwu/swift,parkera/swift,jmgc/swift,gregomni/swift,atrick/swift,JGiola/swift,jckarter/swift,airspeedswift/swift,aschwaighofer/swift,harlanhaskins/swift,hooman/swift,jckarter/swift,parkera/swift,airspeedswift/swift,jckarter/swift,jmgc/swift,parkera/swift,rudkx/swift,xwu/swift,parkera/swift,gregomni/swift,roambotics/swift,ahoppen/swift,benlangmuir/swift,CodaFi/swift,rudkx/swift,JGiola/swift,CodaFi/swift,harlanhaskins/swift,roambotics/swift,allevato/swift,aschwaighofer/swift,CodaFi/swift,aschwaighofer/swift,stephentyrone/swift,ahoppen/swift,xwu/swift,nathawes/swift,glessard/swift,atrick/swift,glessard/swift,hooman/swift,rudkx/swift,xwu/swift,nathawes/swift,stephentyrone/swift,nathawes/swift,xwu/swift,allevato/swift,jmgc/swift,benlangmuir/swift,parkera/swift,harlanhaskins/swift,rudkx/swift,JGiola/swift,ahoppen/swift,airspeedswift/swift,gregomni/swift,jckarter/swift,CodaFi/swift,gregomni/swift,tkremenek/swift