solve boost thread link problems on ubuntu