Cache modification timestamp to disk when building

directories so no redundant recompilations will happen