Fix Boost with c++11 standard in copyfile function