Adding windows and linux support to AllocatorMutex