ifdef'd out DualQueue and removed usages of it to fix compiler errors with clang on Mac OS X