Fixing compile error in centos 6 related to boost filesystem versions