Use trick with temporary files for timestamps

This prevents rebuilding of all test on each test run.
Combine directory creation targets in Makefile.inc
Merge branch 'optimize-test-building'

Do not rebuild unit-tests without need.