Change directory names in the C code