llvm/Windows build fixes

Linker.h has moved.

Now specify ELF as object format rather than environment.
Fix warnings in test.