Fixed units.lua so that we don't cause DAG regeneration on each build.

The key problem was that we were referencing ./*.h, which includes
the output directory.