Fixed queue compilation errors.