Fix recursive directory packaging issue for Windows