[#19] (hopefully) Fix instance deletion on windows.