Change directory of C++ files