wolfssl: set nonshared flag global