try to do VLink support semi-properly, so cross compilation is possible

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@24664 3ad0048d-3df7-0310-abae-a5850022a9f2