Fixed Windows issues with multiprocessing/memory mapping