Fix Boost error.

Error was: ‘lock_guard’ is not a member of ‘boost’