Made dependency handling for C sources actually work.