fix projects with subdirs in C