Makes def_library link privately.

- This way all dependencies are not forwarded along automatically. Makes
  it easier to reuse libraries.
Merge pull request #1 from arpg/private_linkage

Makes def_library link privately.