Fixed shlib dependencies were wrong when filtered.

Depending on a shlib which had been completely filtered out and replaced with a
dummy node would still try to link the shared library stub on Windows.
Add static+shared linking example via subvariants.

This is a common pattern in various IDEs.