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