Revert "Remove the time library, as it seems to bork the new sync-all."

This reverts commit b0c8e748b2f37e53107d7abe16229677d04854df.