Added an include for the boost threading stuff.

When trying to compile your package on my system, I got some error that boost's lock_guards (and some more stuff from boost having to do with threading) was missing.
Adding this include fixed the issue.