missing include file

Make fails on os x 10.7. Fix is src/messages/data.hpp needs boost/thread/locks.hpp.