try to link symlink and use a define on error

fixes compiling with Minimalist GNU win32 (cross) compiler 4.2.1, which
defines symlink, but doesn't implement it.
2 files changed