if(priorities[j] == i)
{
//EED 2017-03-28
-#if BOOST_MAJOR_VERSION <= 1 || BOOST_MINOR_VERSION <=41
+#if BOOST_MAJOR_VERSION <= 1 && BOOST_MINOR_VERSION <=41
out << "include " << package_name << "/boxes/" << files[j].filename() << std::endl;
#else
out << "include " << package_name << "/boxes/" << files[j].filename().string() << std::endl;
if(!is_directory(itr->status()))
{
//EED 2017-03-28
-#if BOOST_MAJOR_VERSION <= 1 || BOOST_MINOR_VERSION <=41
+#if BOOST_MAJOR_VERSION <= 1 && BOOST_MINOR_VERSION <=41
std::string nm(itr->path().filename());
#else
std::string nm(itr->path().filename().string());
for (int j = i+1; j < (int)files.size(); ++j) {
//EED 2017-03-28
-#if BOOST_MAJOR_VERSION <= 1 || BOOST_MINOR_VERSION <=41
+#if BOOST_MAJOR_VERSION <= 1 && BOOST_MINOR_VERSION <=41
if(files[j].filename() < files[i].filename())
#else
if(files[j].filename().string() < files[i].filename().string())