s3:nsswitch: also use pthread CFLAGS for the nsswitch modules that might require it