Compilation error Mex Interface MacOS

Thanks for reporting!
I added one more commit on the PR to address this last issue.
Let us know if everything works now :slight_smile: