Check C source dependencies in needs_compile