Compile fixes for non RDMA build