dmm: compile for Octave