Windows symlink support

convert to using the standard syscall creation script and use more std lib like version of the implementation.