improve linker setup for Win64
set proper attributes for Windows
Merge pull request #659 from Trass3r/fixwin64

improve Win64 build
Add line number to error message of -nogc switch.

This was suggested by bearophile in the news group.
It also changes all Loc objects to be passed by reference.