fix for compilation of octave mex files