make test link with gdb stub enabled