Debugger: Fix linking debugger auto test

Change-Id: I6ddbe261aca7064176cc025da752476915c5d906
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>