Fixed Linux build issues in datamaps.