Use boost::atomic(from boost 1.53) or std::atomic to replace the atomic from boost::interprocess;
Use dynamic_cast to replace dynamic_pointer_cast;
Now, the demo file_client from compatible edition need at least boost 1.53, please notice.