Fix assertion error with LLVM 3.4.

There is a distinction between compile unit and file which is disregarded by ldc.
It is possible that more places are broken.