symlink creation fixed on apple&unix platforms