Add boost thread example with autotools