Mutex across versions and platforms