fix compilation issues with windows (added #include boost/thread/lock_types in mutex.h).