deployment fixes for Windows