clean up the symlink stuff to use the standard windows syscall structure