hacks to make memtest work on windows