OS X compiler is too old to have c++0x capabilities so in order
to support scoped_lock, Boost libraries are used