Fixed hardlink issue on Windows