Fix compilation issues with the lockfree deque