Get Python and Java sanity checks passing on windows