Always set __interfaceInfosZ linkage correctly.

GitHub: Fixes #535.
adapt to API change
improve linker setup for Win64
set proper attributes for Windows
#658 LOCATION is deprecated
WIP #539 resetAll made up several percent running time for phobos