test: support unix symlink

The pull-request by:
https://github.com/joyent/libuv/issues/1559#issuecomment-62137079

It solve the problem that is failure to the test as `test-get-currentexe` unexpected if run with a path included symlinks.