[TIMOB-14978] Improved incremental builds.