build system: osx fix for bytecode mex in octave