Index: /trunk/FACT++/src/ReadlineColor.cc
===================================================================
--- /trunk/FACT++/src/ReadlineColor.cc	(revision 12781)
+++ /trunk/FACT++/src/ReadlineColor.cc	(revision 12782)
@@ -8,4 +8,5 @@
 #include "ReadlineColor.h"
 
+#include <boost/version.hpp>
 #include <boost/filesystem.hpp>
 
@@ -23,5 +24,9 @@
 bool ReadlineColor::PrintBootMsg(ostream &out, const string &name, bool interactive)
 {
+#if BOOST_VERSION < 104700
     const string n = boost::filesystem::path(name).stem();
+#else
+    const string n = boost::filesystem::path(name).stem().string();
+#endif
 
     out << kBlue << kBold << kUnderline << "\n Master Control Program (compiled "__DATE__" " __TIME__ << ") " << endl;
