Windows deployment fixes around export plugin