Fix C++ incremental tests

The modified output files were not different enough, meaning the compiled object files
had the same number of bytes. With identical timestamp (seconds) they were considered up-to-date.