Configure: Better detection of '-static' in @{$config{LDFLAGS}}