Linux/g++ compile fixes for WarpReduce