Link thread-specific breakpoint test against libpthread