Update to 2.6.1 compatibility

Provided by Werner Gusset (gusset@octave2.ch)