Queue is not defined in ree / 1.9.3, so try some detection instead
v1.3.1