Make debug traces of linker configurable

Fixes #7