Fixed compile errors in mapReduceCoord