changed boost-threads to pthread, but compile does not passing