Handle static linking with pkg-config archive variable