Dependency-triggered recompilation