Fixed 64-bit monitoring, especially on windows.