Fix build with 2.10.x series

The `Queue.dequeueOption` method was introduced in 2.11.0.