boost shared pointer for pc fix