Fix build with rust master

The collections::Deque trait has been removed.