- Fixed macosx compile of matlab functions.